<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--[if lt IE 7 ]> <html class="no-js ie6"> <![endif]-->
<!--[if IE 7 ]>    <html class="no-js ie7"> <![endif]-->
<!--[if IE 8 ]>    <html class="no-js ie8"> <![endif]-->
<!--[if IE 9 ]>    <html class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<html class="no-js">
<!--<![endif]-->
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
	<title>体检预约服务平台 - 医通在线</title>
	<link href="templates/css/global.css" rel="stylesheet" type="text/css" />
	<link href="templates/css/layoutskin.css" rel="stylesheet" type="text/css" />
	<link href="templates/css/agency.css" rel="stylesheet" type="text/css" />
	<script src="templates/js/form.js" type="text/javascript"></script>
	<script src="templates/js/common.js" type="text/javascript"></script>
	<script src="templates/js/func/buy.js" type="text/javascript"></script>
	<meta content="" name="Keywords">
	<meta name="description" content="" />
	<!--[if IE 6]>
	<script src="../../js/ddpng.js" type="text/javascript"></script>
	<script type="text/javascript">DD_belatedPNG.fix('.ddpng');</script>
	<![endif]-->
	<script>

	function subm(){
		$("#sform").submit();
	}
	</script>
</head>
<body>

<!--header st-->
<{include file="../templates/$newtpl/header.html"}>

<FORM  action="<{$__URL__}>now_pay" method="post" enctype="application/x-www-form-urlencoded" name="sform" target="_blank" id="sform">
<input name="orderid" type="hidden" id="orderid" value="<{$order_id}>" />
<div class="row mb10 center_layout fix">
	<{include file="../templates/$newtpl/left.html"}>
	<div class="grid0 grid770">
		<div class="main_con">
		<{if $orderInfo.source != 3}>
			<div class="subline">
				<h4>预约登记</h4>
				<a href="<{$__URL__}>help" target="_blank" class="yuyue">
					<s></s>预约须知
				</a>
				</div>
			<div class="step"><img src="templates/images/paystep_3.png" /></div>
		<{else}>

			<div class="subline">
				<h4>口腔服务</h4>
			</div>

			<div class="step">
				<img src="/templates/images/D-02.gif" />
			</div>
        <{/if}>


		<div class="con">
			<div class="combo_list">
				<div class="con">
					<h5 style="border-bottom:0px solid #999999">
						支付明细：
						<cite>
							<{$pinfo.product_name}>

							<{if $jx_list|@count neq 0}>
								加项:
								<{foreach from=$jx_list key=key item=item name=store}>
									<{$item}>
								<{/foreach}>
							<{/if}>

							，您需在线支付<span style="font-size: 18px; font-weight:bold;color:#f00;"><{$total_price}>元</span>。请通过以下支付平台进行在线支付。
						</cite>
					</h5>

					<h5>
						选择支付平台
						<cite>
						( 请您在下单后<em style="font-size: 18px;">45分钟</em>内完成支付，逾期未付款订单将被取消，需重新下单。)
						</cite>
					</h5>

					<div class="list mb20">
						<dl class="fix">
							<{foreach from=$payment_list item=payment_item}>
								<{if $payment_item.id eq 5 || $payment_item.id eq 27}>
									<dd>
										<label>
											<{$payment_item.display_code}>
											</span>
										</label>
									</dd>
								<{/if}>
							<{/foreach}>


						</dl>
					</div>

					<h6>选择支付银行</h6>
					<div class="list mb20">
						<dl class="fix">
							<{foreach from=$payment_list item=payment_item}>
								<{if $payment_item.id neq 5 && $payment_item.id neq 27 && $payment_item.id neq 28}>
									<dd><label>
									<{$payment_item.display_code}>
									</span></label></dd>
								<{/if}>
							<{/foreach}>
						</dl>
					</div>

					<!-- <div class="sum">应付金额：<em><{$price}></em>元</div> -->
					<div class="btn">
						<a class="btn_ok" href="javascript:void(0);" onclick="subm();">	
						</a><!--<a class="btn_no" href="###">暂不支付</a>-->
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
</FORM>

<{include file="../templates/$newtpl/foot.html"}>

<!--弹框提示 st-->
<div id="dialogPay" class="div_none">
	<div class="con fix">
		<div class="txt">
			<p>请您在新打开的网上银行页面进行支付，支付完成前请不要 关闭该窗口。</p>
		</div>
	</div>
	<div class="btn_bar"><a href="/myorder" title="已完成支付" class="btn_gray">已完成支付</a><a href="/myorder" title="付款遇到问题" class="btn_gray">付款遇到问题</a></div>
</div>

<!--弹框提示 st-->
<div id="dialogNoPay" class="div_none">
	<div class="con fix">
		<div class="txt">
			<p>您确定暂不支付吗？请在下单后<em>45分钟</em>内完成支付，逾期 未付款订单将被取消，需重新下单。</p>
		</div>
	</div>
	<div class="btn_bar"><a href="javascript:void(0)" title="确定" class="btn_gray">确定</a></div>
</div>

<!--脚本如下-->
<script src="templates/js/jquery-1.7.2.min.js" type="text/javascript"></script>
<script src="templates/js/jquery.switchable2.min.js" type="text/javascript"></script>
<script src="templates/js/jquery.layout.js" type="text/javascript"></script>
<script src="templates/js/global.js" type="text/javascript"></script>

<script type="text/javascript">

$('.btn_ok').click(function(){
        art.dialog({
                id: 'dialogPay',
                content: document.getElementById('dialogPay'),
                title: '付款确认',
                skin: "greenbox",
                width: 400,
                opacity: 0.2,
                lock: true,
                padding: 10,
                drag: true,
                resize: false,
                close: function () {
                }
        });
});

$('.btn_no').click(function(){
	art.dialog({
		id: 'dialogNoPay',
		content: document.getElementById('dialogNoPay'),
		title: '温馨提示',
		skin: "greenbox",
		width: 400,
		opacity: 0.2,
		lock: true,
		padding: 10,
		drag: true,
		resize: false,
		close: function () {
		}
	});
});

</script>
<script>
	$(document).ready(function(){
		$(":radio[value='5']").attr("checked", 'checked');
	});
</script>
</body>
</html>